# QtCAM #

## Description ##

QtCAM is a program made for the design and analysis of cam-follower mechanisms.

## Dependencies ##

The following dependencies have to be installed for the program to work properly, I suggest you the use of pip:

    $ pip install  matplotlib numpy PyQt5 dxfwrite
    
Remember that QtCAM is written in Python 3 and Python 2 is still the default in
some GNU/Linux distros. Fortunately, in those distros, you can specify that you
want a Python 3 package by adding a "3" to the "pip" command:

    $ pip3 install  matplotlib numpy PyQt5 dxfwrite

1. [matplotlib](http://matplotlib.org/) for plotting.

2. [numpy](http://www.numpy.org/) for handling highs amount of numbers efficiently

3. [PyQt5](https://riverbankcomputing.com/software/pyqt/download5/) for the grafical user interface

4. [dxfwrite](https://pypi.python.org/pypi/dxfwrite) to be able to export the outline to dxf

## Installation ##

### GNU/Linux ###

Having Python 3 installed on your system, download the tarball or clone the git repository:

    $ git clone https://notabug.org/anengineer/qtcam
    
Uncompress the file in case if downloaded the tarball and use the *cd* command
to place yourself inside the root of the project.

Install the program writing the following in the terminal:

    # ./setup.py install
    
    
## Running the program ##

If you have the program installed, just summon it from the terminal:

    $ qtcam

You can run the program without installation just by executing the file with the
following order:

    $ ./qtcam.py
    

